<template>
  <text :style="styles" :class="className" @tap="onTap">
    <slot />
  </text>
</template>
<script>
/**
	 * uiwu-text
	 * @property {Object} styles css样式同:style
	 * @property {String} className class名
	 * @event {Function} click 点击回馈事件
	 */
export default {
  props: {
    styles: {
      default: ''
    },
    className: {
      default: ''
    }
  },
  methods: {
    onTap() {
      this.$emit('click')
    }
  }
}
</script>
<style>
</style>
